package com.codefish.framework.spring.context.annotation;

import com.codefish.framework.spring.beans.factory.support.BeanDefinition;

/**
 * bean名称生成器
 *
 * @author <a href='https://gitee.com/hzf2281'>codefish</a>
 * @version 1.0.0
 * @since 2022/11/05 下午 01:54
 */
@FunctionalInterface
public interface IBeanNameGenerator {
    /**
     * 从beanDefinition生成对应的beanName
     * @param beanDefinition 目标bd
     * @return 生成的beanName
     */
    String generateBeanName(BeanDefinition beanDefinition);
}
